﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ls.Web.Framework.Permissions
{
    /// <summary>
    /// 权限验证服务
    /// </summary>
    public interface IPermissionService
    {
        bool CheckPermission(long  userId,string permissionName);
        List<dynamic> GetButtonList(long userId, string permissionName, bool isSup);

        dynamic GetButton(long userId, string permissionName, bool isSup);
    }
}
